<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <title>studynotes</title>
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  <meta name="description" content="Description">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
  <link rel="stylesheet" href="/studynotes/assets/css/vue-min.css">
  <!-- TODO: Replace the theme name or leave as is. -->
   <script src="/studynotes/assets/js/edit.js"></script>
</head>

<body>
  <div id="app"></div>
  <script>
    window.$docsify = {
      name: '',
      repo: 'https://gitee.com/lyboy6/studynotes.git',
      homepage: 'https://lyboy6.github.io/studynotes/home.md',
      coverpage: 'coverpage.md',
      loadSidebar: true,
      maxLevel: 4,
      subMaxLevel: 3,
      alias: {
         '/_sidebar.md': 'https://lyboy6.github.io/studynotes/sidebar.md', 
        '/.*/_sidebar.md': 'https://lyboy6.github.io/studynotes/sidebar.md', 
       '/js/(.*)': 'https://lyboy6.github.io/studynotes/js/$1',
      },
     plugins: [
      EditOnGithubPlugin.create(
        '',
        null,
        function(file) {
            let url = '';
            if (/lyboy6\.github\.io/.test(file)) {
              url = file.replace('lyboy6.github.io/studynotes', 'github.com/lyboy6/studynotes/blob/master');
             console.log(url)
            }
            return `<a href="${url}" target="_blank">编辑</a>`
        }
      )
    ],
      

    }
  </script>
  <script>if (typeof navigator.serviceWorker !== 'undefined') { navigator.serviceWorker.register('sw.js') }</script>
  <script src="//cdn.staticfile.org/docsify/4.11.3/docsify.min.js"></script>
 
</body>

</html>